raar.graphics
Class RAGCache
java.lang.Object
raar.graphics.RAGCache
public class RAGCache
- extends java.lang.Object
Caches all the graphics for the user interfaces, such as process maps and
shapes for agents. Creates a default representation whenever a get() is
called but there is no shape present yet.
Contains incomplete JavaDoc documentation, not really interesting.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cache
public static final RAGCache cache
- The globally available cache instance.
DEFAULT_AGENT_COLOR
public static final java.awt.Color DEFAULT_AGENT_COLOR
DEFAULT_TRACE_COLOR
public static final java.awt.Color DEFAULT_TRACE_COLOR
RAGCache
public RAGCache()
setProcessMap
public void setProcessMap(RAAgent ag,
RAGProcessMap pm)
getProcessMap
public RAGProcessMap getProcessMap(RAAgent ag)
setAgentShape
public void setAgentShape(RAAgent ag,
RAGAgentShape sh)
getAgentShape
public RAGAgentShape getAgentShape(RAAgent ag)
setAgentColor
public void setAgentColor(RAAgent ag,
java.awt.Color c)
getAgentColor
public java.awt.Color getAgentColor(RAAgent ag)
setAgentTraceColor
public void setAgentTraceColor(RAAgent ag,
java.awt.Color c)
getAgentTraceColor
public java.awt.Color getAgentTraceColor(RAAgent ag)
setAgentTrace
public void setAgentTrace(RAAgent ag,
RAGAgentTrace t)
getAgentTrace
public RAGAgentTrace getAgentTrace(RAAgent ag)